function checker(type,varargin)

switch type
    case 'crack'
        GetEnrichNode
    case 'elem'
        CheckElem(varargin{:})
end 